home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / tools / lu62 / port / fmh5.h < prev    next >
C/C++ Source or Header  |  1996-07-10  |  2KB  |  79 lines

  1. #define  FM5CONCT 0x80
  2. #define  FM5TYPE  0x7f
  3. #define  FM5TYPE5 0x05
  4. #define  FM5ATTCH 0xff02
  5. #define  FM5PIPPR 0x08
  6. #define  FM5BASIC 0xd0
  7. #define  FM5MAPED 0xd1
  8. #define  FM5SYNCH 0xc0
  9. #define  FM5NONE  0
  10. #define  FM5CONFM 0x40
  11. #define  FM5CSB   0x80
  12. #define  FM5RESUP 0x20
  13. #define  FM5PIPF5 0x12f5
  14. #define  FM5PIPE2 0x12e2
  15.  
  16. struct FMH5 {
  17. /*
  18.  * The function management header 5 (FMH-5),
  19.  * using with a command of Attach.
  20.  */
  21. unsigned char length; /* Length of FMH-5,
  22.                        * including this byte. */
  23. unsigned char flag1;
  24. unsigned int  type;
  25. unsigned char flag2;
  26. unsigned char lnflp;  /* Length of fixed length
  27.                        * parameters */
  28. unsigned char rsctp;  /* resource type */
  29. unsigned char rsrv1;  /* reserved */
  30. unsigned char flag3;  /* flags for fixed length parms */
  31. unsigned char lntpn;  /* length of transaction program
  32.                        * name */
  33. char tpname;          /* First byte of the t.p. name */
  34.             };
  35.  
  36. struct LUOW1 {
  37. /*  Logical unit of work identifier */
  38.  
  39. unsigned char lnluw;  /* length of luow id */
  40. unsigned char lnfqn;  /* length of fully qualified
  41.                        * lu name */
  42. unsigned char fqnam;  /* fully qualified lu name */
  43.             };
  44. struct LUOW2 {
  45. /*  LUOW  */
  46. unsigned char luwin[6]; /* LUOW instance number */
  47. unsigned int  luwsn;  /* LUOW sequence number */
  48.             };
  49. struct CVCOR {
  50. /* Conversation correlator */
  51. unsigned char lnccs;  /* Length of conversation
  52.                        * correlator of sender
  53.                        * not including this byte */
  54. char ccs;             /* Conversation correlator of
  55.                        * sending transaction */
  56.             };
  57. struct ACCSE {
  58. /* Access security subfield */
  59.  
  60. unsigned char asll;  /* Subfield length */
  61. unsigned char asty;  /* Subfield type */
  62. unsigned char asda;  /* Subfield data */
  63.             };
  64. struct PIPFM {
  65. /* Program initialization parametr (PIP) */
  66.  
  67. unsigned int pipln;  /* PIP length, including this byte */
  68. unsigned int pipgd;  /* GDS indicator */
  69. char pipsf; /* first byte of PIP subfields */
  70.             };
  71. struct PIPSM {
  72. /* PIP subfield map */
  73.  
  74. unsigned int pipsl;  /* Subfield length,
  75.                       * including this bytes */
  76. unsigned int pipsg;  /* GDS indicator */
  77. char pipsd; /* Subfield data */
  78.             };
  79.